import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_baidu_mapapi_map/flutter_baidu_mapapi_map.dart';
import 'package:get/get.dart';
import 'package:flutter_baidu_mapapi_base/flutter_baidu_mapapi_base.dart';
import 'package:leader_help/page/task/main/models/area/area.dart';
import 'package:leader_help/page/task/main/models/industry_model/industry_model.dart';
import 'package:leader_help/page/task/main/task/widgets/city_picker.dart';
import 'package:leader_help/page/task/main/task/widgets/industry_picker.dart';

class TaskState {
  List<String> num = ["670", "41", "53"];
  List<String> ratio = ["33", "4.4", "2.6"];
  List<String> city = ["郑州", "许昌", "平顶山"];
  List<Color> colors = [Colors.deepOrange, Colors.blueAccent, Colors.green];
  List<BMFCoordinate> position = [
    BMFCoordinate(34.72468, 113.6401),
    BMFCoordinate(34.12596, 113.82272),
    BMFCoordinate(33.89889, 112.89888)
  ];

  late BMFMapController myMapController;

  late List<String> comTypes;
  late List<String> citys;
  late List<String> industryTypes;
  late List<String> scopes;

  int selectComTypeIndex = 1;
  int selectCityIndex = 0;
  int selectIndustryTypeIndex = 0;
  int selectScopeIndex = 0;
  int activeIndex = -1;

  ///分布类型
  int distributeType = 0;

  ///轮播文字
  late List<String> carouselTexts;

  AreaSelectedModel selectedMod = AreaSelectedModel();
  AreaModel? sourceAreaMod;

  List<IndustryModel>? industryList;
  IndustrySelectedModel industrySelectedMod = IndustrySelectedModel();
}
